/*
 * *****************************************************************************
 *  Copyright ( c ) 2019 huibur Inc. All Rights Reserved.
 *
 *  This software is the confidential and proprietary information of Huibur Inc
 *  (*Confidential Information*). You shall not disclose such Confidential Information
 *  and shall use it only in accordance with the terms of the license agreement
 *  you entered into with Huibur or a Huibur authorized
 *  reseller (the "License Agreement*).
 *  ******************************************************************************
 */

package com.huibur.devicecheck.enums;

/*******************************************************
* @title: ResultCodeEnum.java
* @description:
* @author wushiqi
* @date 2021/8/31
* @version 1.0
*******************************************************/
public enum ResultCodeEnum {

    USER_NOT_FOUND("10001","用户不存在，请重新输入"),
    USER_NOT_PASSWORD("10002","用户密码错误，请重新输入"),
    USER_DISABLE("10003","用户被禁用，请联系管理员"),
    USER_INFO_EXIST("10004","用户已存在"),
    DEVICE_LABEL_REPEAT("10005","设备唯一标识重复"),
    TASK_TITLE_REPEAT("10006","任务名称重复"),
    TASK_RECORD_ALREADY_EXIST("10007","任务提交记录已存在"),
    PLAN_END_TIME_UNABLE_LESS_THAN_PLAN_START_TIME("10008","计划结束时间不能小于计划开始时间"),
    ACT_END_TIME_UNABLE_LESS_THAN_ACT_START_TIME("10009","实际结束时间不能小于实际开始时间"),
    TASK_IS_NOT_PROGRESS("10010","任务进行中或已结束,禁止删除"),
    TASK_IS_START("10011","任务已开始,禁止重复点击"),
    TASK_HAS_ENDED("10012","任务已结束,禁止重复点击"),
    TYPE_NAME_REPEAT("10013","类别名称重复,请重新输入"),
    CHECK_ITEM_NAME_IS_REPEAT("10014","同一设备名称下检查项名称重复"),
    CHECK_LOCATION_NAME_REPEAT("10015","地址名称重复，请重新输入"),
    PARAMETER_SETTING_ERROR("10016","参数设置错误,请重新输入"),
    REMIND_TIME_SETTING_ERROR("10017","提醒参数设置错误,请重新输入"),
    DEVICE_CATEGORY_NAME_REPEAT("10018","设备名称重复,请重新输入");




    private String code;
    private String label;

    ResultCodeEnum(String code, String label) {
        this.code = code;
        this.label = label;
    }

    public String getCode() {
        return code;
    }

    public String getLabel() {
        return label;
    }
}
